package com.huike.service;

import com.huike.mapper.InfoMapper;
import com.huike.pojo.Doctor;
import com.huike.pojo.HospInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InformService {
    @Autowired
    private InfoMapper infoMapper;

    public List<HospInfo> selectAllInfo() {
        return infoMapper.selectAllInfo();
    }

    public List<Doctor> selectAllDoctor() {
        return infoMapper.selectAllDoctor();
    }
}
